package com.hjc.service;

import com.hjc.domain.vo.CheckinVo;
import com.hjc.dto.TimeRangeBaseDto;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface CheckinService {
    String validCanCheckIn(int userId, String date);
    void checkin(HashMap param);
    HashMap searchTodayCheckin(int userId);
    long searchCheckinDays(int userId);
    ArrayList<HashMap> searchWeekCheckin(TimeRangeBaseDto timeRangeBaseDto);
    ArrayList<HashMap> searchMonthCheckin(TimeRangeBaseDto timeRangeBaseDto);
    CheckinVo searchDailyCheckin(Map<Object, Object> param);
}
